<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<link rel = "stylesheet" href = "bootstrap/css/bootstrap.css" />
<link rel = "stylesheet" href = "bootstrap/css/style.css" />
<script type = "text/javascript" src = "bootstrap/js/jquery-1.11.0.min.js"></script>
<script type = "text/javascript" src = "bootstrap/js/bootstrap.js"></script>
<title>Permissions Page</title>

<% 
String id=request.getParameter("value");
request.getSession().setAttribute("perid",id);
%>

</head>
<body>
	<div class = "per">
		<div class = "row">
			<div class = "col-lg-10">
				<div class = "panel panel-success">
				<div class = "panel-heading"> <h4>Edit Permission</h4></div>
					<div class = "panel-body">
						<center><img src = "bootstrap/images/logo_ibm.png" width = "90" height = "50"></center>
						<hr>
						<form action = "http://localhost:9090/java-jsp-ashry/EditPermission">
							<div class = "form-group">
							Name:
							<br>
								<input type = "text" name = "perName" class = "form-control" placeholder = "Permission Name" value=<% out.println(request.getParameter("value2")); %>>
							</div>
							<br/>
							<div class = "form-group">
							description:
							<br>
								<textarea class="form-control" name = "perDescription" placeholder = "Permission description" rows="3"> <% out.println(request.getParameter("value3")); %> </textarea>
							</div>
							<br/><br/>
							<button class = "btn btn-lg btn-danger pull-right">Cancel</button>
							<input type = "submit" value = "Ok" class = "btn btn-lg btn-success pull-right">
						</form>
						
					</div>
				</div>
			</div>
		</div>
	</div>
</body>
</html>